package com.cqu.lpss.mapper;

import com.cqu.lpss.pojo.Image;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ImageMapper {
    public List<Image> list(String imgUrl, String imgPosition, String imgFormat, String imgName);
    public int add(String imgUrl,
            String imgName,
            String imgFormat,
            String imgPosition,
            java.sql.Timestamp imgCreatetime,
            java.sql.Timestamp imgUpdatetime);
    public int deleteById(Integer imgId);
    public int update(
            Integer imgId,
            String imgUrl,
            String imgName,
            String imgFormat,
            String imgPosition,
            java.sql.Timestamp imgCreatetime,
            java.sql.Timestamp imgUpdatetime);
    public List<Image> findByposition(String position);
}

